<%@ page language="java" import="cn.com.zsc.system.vo.UserVO,cn.com.zsc.system.Welcome" pageEncoding="UTF-8"%>
<%@ include file="userSession.jsp"%>
<%
	UserVO user = (UserVO) session.getAttribute("user");

	int userID = user.getUid();
	String username = user.getUsername();
	
	Welcome welcome = new Welcome();
	String photoData = welcome.getWelcomeInfo(String.valueOf(userID));
%>
<html>
	<head>
		<title>欢迎页面</title>
		<script>
			var userID='<%=userID%>';
			var username='<%=username%>';
			var photoData='<%=photoData%>';
		</script>
		
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/examples.css" />
		<%--横向排序 --%>
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/animated-dataview.css" />
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/multiple-sorting.css">
		
		<script type="text/javascript" src="<%=basePath%>js/ext-base-debug.js"></script>
		<script type="text/javascript" src="<%=basePath%>js/ext-all-debug.js"></script>
		<script type="text/javascript" src="<%=basePath%>ext/ux/DataViewTransition.js"></script>
		<script type="text/javascript" src="<%=basePath%>ext/ux/Reorderer.js"></script>
		<script type="text/javascript" src="<%=basePath%>ext/ux/ToolbarReorderer.js"></script>
		<script type="text/javascript" src="<%=basePath%>welcome.js"></script>
	</head>
	
	<body id="welcomebody"></body>
</html>